package com.example.cdctest.mapper;

import com.example.cdctest.pojo.Category;import java.util.List;

public interface CategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    List<Category> findAllCategory();

    int findCategoryCount();

    void updateCategory(Integer id);

    void updateCategoryQuestionCount(Integer categoryId);

    List<Category> specialExercises();
}